package com.hotdog.service;

import com.hotdog.mapper.ViewAddrMapper;
import com.hotdog.pojo.IndexInfo;
import com.hotdog.vo.SysResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 郭鲁政
 */
@Service
public class UpLoadServiceImpl implements UpLoadService{
    @Autowired
    private ViewAddrMapper viewAddrMapper;
    @Override
    public SysResult insertInfo(IndexInfo indexInfo) {
        viewAddrMapper.insert(indexInfo);
        return SysResult.success();
    }
}
